
#ifndef __COMPAT_OBJECT_INTERFACE_H__
#define __COMPAT_OBJECT_INTERFACE_H__

#include <typeinfo>

#ifndef interface
#	define	interface	struct
#endif

interface object
{
	virtual ~object ( void ) { }

	virtual const std::type_info &	type ( void ) const = 0;
	virtual object *				clone ( void ) const = 0;
};

#endif	// #ifndef __COMPAT_OBJECT_INTERFACE_H__